﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace GrapplingHookGame
{

    class TrialScreen : MenuScreen
    {

        public TrialScreen()
            : base(Resources.Help)
        {
            MenuEntry backMenuEntry = new MenuEntry(Resources.Back);
            backMenuEntry.Selected += OnCancel;
            MenuEntries.Add(backMenuEntry);

        }


        /// <summary>
        /// Draw this screen.
        /// </summary>
        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);

            SpriteBatch spriteBatch = ScreenManager.SpriteBatch;
            spriteBatch.Begin();
            
            SpriteFont font = ScreenManager.Font;
            Vector2 textpos = new Vector2(200, ScreenManager.GraphicsDevice.Viewport.Height / 2);
            // Modify the alpha to fade text out during transitions.
            Color color = Color.White;
            color = new Color(color.R, color.G, color.B, TransitionAlpha);

            spriteBatch.DrawString(font, Resources.TrialMessage, textpos, color);
            spriteBatch.End();

        }

    }
}
